/* css reset 
    css inherit
*/
/* 性能优化 * */

body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote
{
    margin: 0;
    padding: 0;
}
html,body{
    height: 100%;
    color: #111;
    background-color: #fff;
}

ul, ol {
    list-style: none;
}
a:link{
    color: #37a;
    text-decoration: none;
    cursor: pointer;
}
body,th,td{
    font-size: 12px Helvetica,Arial,sans-serif;
    line-height: 1.62;
}
body{
    margin-top: 0;
}
html body, html td, html th, html .pl, html input {
    font-size: 13px;
}
form{
    margin: 0;
    padding: 0;
    border: 0px;
}
legend {
    color: #000;
}
fieldset legend {
    color: #666;
    padding: 0 5px;
}
label{
    font-family: Tahoma;
    vertical-align: middle;
}
input{
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    vertical-align: middle;
}
#db-global-nav{
    font: 12px Helvetica,Arial,sans-serif;
    height: 28px;
    color: #d5d5d5;
    background-color: #545652;
    min-width: 950px;
}
#db-global-nav .global-nav-items {
    font-size: 0;
}
#db-global-nav ul {
    margin: 0;
    padding: 0;
}
#db-global-nav .global-nav-items li{
    display: inline-block; /* 天生的缺陷，带来一些间隔  必须给父容器设置font-size为0*/
    line-height: 28px;/* 垂直居中 */
    zoom: 1;
    font-size: 12px;
    vertical-align: baseline;
}
#db-global-nav .global-nav-items a{
    display: inline-block;
    zoom: 1;
    padding: 0 12px;
    height: 28px;
}
#db-global-nav a:link, #db-global-nav a:visited, #db-global-nav a:hover, #db-global-nav a:active {
    color: #d5d5d5;
}
#db-global-nav a:hover, #db-global-nav a:active {
    color: #fff;
    background-color: transparent;
}
#db-global-nav .top-nav-info{
    float: right;
    margin: 0 12px 0 0;
    line-height: 28px;
}
#db-global-nav .top-nav-doubanapp{
    position: relative;
    float: right;
    margin-right: 5px;
    line-height: 28px;
}
#db-global-nav .top-nav-doubanapp a{
    display: inline-block;
    padding: 0 8px;
    height: 28px;
}
.nav{
    width: 100%;
    min-width: 1040px;
    overflow: hidden;
    zoom: 1;
    margin-bottom: 40px;

}
#db-nav-book {
    background: #f6f6f1;
    position: relative;
}
.nav .nav-wrap {
    border-bottom: 1px solid #e5ebe4;
}
#db-nav-book .nav-wrap {
    border-color: #e9e9e2;
}
.nav .nav-primary{
    width: 1040px;
    margin: 0 auto;
    overflow: visible !important;
    position: relative;
    padding: 10px 0 5px;
    zoom: 1;
}
.nav .nav-logo {
    float: left;
    height: 56px;
    width: 145px;
    margin: 0 13px 0 0;
}
#db-nav-book .nav-logo {
    background: url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) no-repeat 0 12px;
    background-image: -webkit-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -moz-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -ms-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
    background-image: -o-image-set(url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book_a11_1.png?s=1) 1x, url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/lg_book@2x.png?s=1) 2x);
}
.nav .nav-logo a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 100em;
}
a {
    cursor: pointer;
}
.nav .nav-logo a:hover, .nav .nav-logo a:active {
    background: none !important;
}
#db-nav-book a:link, #db-nav-book a:visited {
    color: #614e3c;
    text-decoration: none;
}
#db-nav-book a:hover, #db-nav-book a:active {
    background-color: #614e3c;
    color: #fff;
}
.nav-search{
    margin-left: 145px;
    overflow: visible !important;
    position: relative;
    padding: 10px 0 15px 0;
}
.nav-search fieldset {
    border: none;
    padding: 0;
    margin: 0;
    position: static;
}
.nav-search legend{
    display: none;
}
.nav-search label{
    position: absolute;
    left: 11px;
    top: 10px;
    line-height: 30px;
    cursor: text;
    color: #bbb;
    width: auto;
}
.nav-search .inp{
    float: left;
    width: 470px;
    height: 34px;
    text-align: center;
    margin-left: -3px;
    cursor: text;
    background-image: url(https://img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/nav_bk_bg.png?s=1);
}
.nav-search .inp-btn{
    position: relative;
    left: -1px;
    width: 37px;
    height: 34px;
    zoom: 1;
    overflow: hidden;
}
.nav-search input{
    -webkit-appearance: none;
    border: none;
    background: transparent;
}
.nav-search .inp input{
    background: #fff;
    width: 96%;
    margin: 0;
    text-align: left;
    height: 30px;
    padding-left: 10px;
    outline: none;
}
.nav-search .inp-btn input{
    width: 100%;
    height: 100%;
    font-size: 0;
    padding: 35px 0 0 0;
    overflow: hidden;
    color: transparent;
    cursor: pointer;
    background: url(//img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/nav_bk_bg.png?s=1) no-repeat 0 -40px;
}
.nav-secondary{
    width: 1040px;
    margin: 0 auto;
    padding-top: 0;
    overflow: hidden;
}
.nav-secondary .nav-items{
    float: none;
    font-size: 14px;
}
.nav-secondary .nav-items{
    margin: 9px 0;
}
.nav-secondary li {
    display: inline;
    margin-right: 25px;
}
.nav-secondary .book-cart{
    position: relative;
    padding-left: 18px;
    padding-top: 2px;
    background-image: url(https://img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/icon_myorders.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 15px;
}
#db-nav-book a.bookannual {
    position: absolute;
    width: 186px;
    height: 96px;
    top: 10px;
    left: 50%;
    margin-left: 345px;
    background: url(https://img3.doubanio.com/dae/accounts/resources/d3e2921/book/assets/annual_2020.png) center/contain no-repeat;
    z-index: 5;
}
.nav-secondary:after {
    content: '\0020';
    display: block;
    clear: both;
}